# -*- coding: utf-8 -*-
__author__ = 'gerry'

from os import system, popen  # 明确模块的方法
import commands
from os import * # not suggested

'''
实现系统的操作命令
'''
cmd_res = system("dir")
res2 = popen("dir").read()
print(res2)

res3 = commands.getoutput("dir")
print( "--->",res3)











